package com.xm.settlement.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.xm.settlement.model.AppRecharge;
import com.xm.settlement.model.AppUserManage;
import com.xm.settlement.model.vo.AppUserVo;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/2/9.
 */
public interface AppUserManageMapper extends AutoMapper<AppUserManage>{

    int updateAppUserManageByVipCode(AppUserManage appUserManage);

    void updateAppUserManageInVipCode(Map map);

    void updateAppUserManageByObject(AppUserVo appUserVo);

    void updateAppUserDirectNumInVipCode(Map map);

    void updateAppUserManageLevelByVipCode(Map map);

    void updateRechargeByObject(AppUserManage appUserManage2);

    void updateShopScoreByList(List<AppRecharge> appRechargesList);

    void updateReduceShop(AppUserManage appUserManage);

    List selectUserTree(List treeList);
}
